import Vue from 'vue/dist/vue.esm.browser.min.js'
import { Input,DatePicker,Button,RadioButton,Radio,RadioGroup,Dialog } from 'element-ui'
import 'element-ui/lib/theme-default/index.css';
Vue.use(DatePicker);
Vue.use(Dialog);
Vue.use(Input);
Vue.use(Button);
Vue.use(RadioButton);
Vue.use(RadioGroup);
Vue.use(Radio);

export default new Vue({
  el : '#myapp',
  data(){
    return {
      a : 1,
      b : 2,
      visible : false,
      radio : 1,
      radio3 : `上海`,
      value1 : '',
      pickerOptions0: {
        disabledDate(time) {
          return time.getTime() < Date.now() - 8.64e7;
        }
      },
    }
  },
  methods : {
    add(){
      console.log(999);
      this.visible = true;
    }
  }
})


